package com.wy.tools;

import java.util.concurrent.TimeUnit;

/**
 * @author 美女
 * @date 2022/04/20 12:18
 **/
public class Main {
    public static void main(String[] args) throws InterruptedException {
        while (true){
            TimeUnit.SECONDS.sleep(1);//1s休眠一次
            System.out.println("你好");
        }
    }
}
